<?php
class AppversionModel extends Orm_Base{                                                                   
    public $table = 'app_version';                                                                         
    public $field = array(                                                                             
		'id' => array('type' => "bigint(20)", 'comment' => 'id'),                               
		'title' =>  array('type' => "varchar(255)", 'comment' => ''),
		'num' =>  array('type' => "float", 'comment' => ''),
		'description' =>  array('type' => "mediumtext", 'comment' => ''),
		'url' =>  array('type' => "mediumtext", 'comment' => ''),
		'time' =>  array('type' => "timestamp", 'comment' => ''),
		'ip' =>  array('type' => "varchar(255)", 'comment' => ''),
		'type' =>  array('type' => "tinyint(1)", 'comment' => ''),
		'uptype' =>  array('type' => "tinyint(1)", 'comment' => ''),
	);
 
	public $pk = 'id';
}
